﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ClaimItemList.aspx.cs" Inherits="CRM.Web.ClaimFormManage.ClaimItemList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <link href="<%= base.ResourcesPath + "Style/main.css" %>" rel="stylesheet" type="text/css" />
    <link href="<%= base.ResourcesPath + "Style/button.css" %>" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/jquery-1.6.2.min.js" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/My97DatePicker/WdatePicker.js"  defer="defer" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/MaskTextBox.js" ></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/Common.js"></script>
    <script type="text/javascript" src="<%= base.ResourcesPath %>Js/button.js"></script>
</head>
<body>
    <form id="form1" runat="server" >
        <table border="0" cellpadding="0" cellspacing="0" id="tTitle">
            <tr>
                <td class="left">
                    <img src="<%= base.ResourcesPath %>Images/title_left.gif" alt="" />
                </td>
                <td class="middle">
                    <div class="pagetitle">
                        <div>
                            <asp:Label ID="lblTitle" runat="server" Text="索赔项目"></asp:Label></div>
                    </div>
                </td>
                <td class="right">
                    <img src="<%= base.ResourcesPath %>Images/title_right.gif" alt="" />
                </td>
            </tr>
        </table>
    <div id="divMain" >
    <div style="width: 100%">
        <div class="listdiv">
            <dp:WebGridView ID="gvList" runat="server" CssClass="gridview" AutoGenerateColumns="False" OnRowCreated="gvList_RowCreated" OnRowDataBound="gvList_RowDataBound" OnRowDeleting="gvList_RowDeleting" AllowPaging="true" 
                AllowSorting="true" PageSize="10"  SortExpressionValue="CLAIMITEM">
                <Columns>
			    <asp:BoundField DataField="CLAIMITEM" HeaderText="编号"  SortExpression="CLAIMITEM" />
			    <asp:BoundField DataField="WORKITEMNAME" HeaderText="作业项目名称"  SortExpression="WORKITEMNAME"   />
			    <asp:BoundField DataField="ITEMSTATUS" HeaderText="维修项目状态"  SortExpression="ITEMSTATUS" Visible="False"   />
			    <asp:BoundField DataField="CAUSEMATERIALNAME" HeaderText="故障件名称"  SortExpression="CAUSEMATERIALNAME"  />
			    <asp:BoundField DataField="FAULTREASONNAME" HeaderText="故障原因名称"  SortExpression="FAULTREASONNAME"   />
			    <asp:BoundField DataField="ITEMSTATUSNAME" HeaderText="维修项目状态名"  SortExpression="ITEMSTATUSNAME" />
			    <asp:BoundField DataField="WORKERNAME" HeaderText="作业人"  SortExpression="WORKERNAME" />
			    <asp:BoundField DataField="WORKHOUR" HeaderText="工时定额"  SortExpression="WORKHOUR" />
			    <asp:BoundField DataField="WORKERNUMBER" HeaderText="工时"  SortExpression="WORKERNUMBER"  />
			    <asp:BoundField DataField="WORKFEE" HeaderText="工时费"  SortExpression="WORKFEE" />
			    <asp:BoundField DataField="PARENTID" HeaderText="主单ID"  SortExpression="PARENTID" Visible="False"  />
			    <asp:BoundField DataField="REMARK" HeaderText="备注"  SortExpression="REMARK"  Visible="False" />
			    <asp:BoundField DataField="STEPTYPE" HeaderText="措施类型"  SortExpression="STEPTYPE"  Visible="False" />
			    <asp:BoundField DataField="STEPTYPENAME" HeaderText="措施类型名称"  SortExpression="STEPTYPENAME"  Visible="False" />
			    <asp:BoundField DataField="WORKITEMCODE" HeaderText="作业项目编号"  SortExpression="WORKITEMCODE"  Visible="False" />
			    <asp:BoundField DataField="WORKITEMID" HeaderText="作业项目ID"  SortExpression="WORKITEMID"  Visible="False" />
			    <asp:BoundField DataField="WORKPRICE" HeaderText="工时费单价"  SortExpression="WORKPRICE"  Visible="False" />
			    <asp:BoundField DataField="CAUSEMATERIALCODE" HeaderText="故障件编号"  SortExpression="CAUSEMATERIALCODE" Visible="False"  />
			    <asp:BoundField DataField="FAULTREASONCODE" HeaderText="故障原因编号"  SortExpression="FAULTREASONCODE" Visible="False"  />
			    <asp:BoundField DataField="FAULTREASONID" HeaderText="故障原因ID"  SortExpression="FAULTREASONID"  Visible="False" />
			    <asp:BoundField DataField="WORKITEMKIND" HeaderText="工作项目类别"  SortExpression="WORKITEMKIND"  Visible="False" />
			    <asp:BoundField DataField="BUSINESSDIVISIONID" HeaderText="事业部编号"  SortExpression="BUSINESSDIVISIONID"  Visible="False" />
			    <asp:BoundField DataField="BUSINESSDIVISIONNAME" HeaderText="事业部名称"  SortExpression="BUSINESSDIVISIONNAME"  Visible="False" />
			    <asp:BoundField DataField="BUSINESSDIVISIONCODE" HeaderText="事业部代码"  SortExpression="BUSINESSDIVISIONCODE" Visible="False" />
			    <asp:TemplateField HeaderText="操作" ShowHeader="False"  Visible="False" >
                    <itemtemplate>
                    <div style="white-space: nowrap;"><asp:HyperLink id="hlModify" runat="server" NavigateUrl='<%# Eval("CLAIMITEM", ModifyUrl) %>'>详细</asp:HyperLink>
                    <asp:LinkButton id="lbtnDelete" runat="server" Text="删除" CommandName="Delete" CausesValidation="False" OnClientClick="return confirm('您确认要删除此条记录吗？');"></asp:LinkButton>            
                    </div>
				    </itemtemplate>
                    <headerstyle width="90px" />
                </asp:TemplateField>
                </Columns>	
                <RowStyle CssClass="row" />
                <AlternatingRowStyle CssClass="row2" />
                <HeaderStyle CssClass="header" />	
                <PagerStyle CssClass="pager" />	
            </dp:WebGridView>
        </div>
    </div>
</div>

    </form>
</body>
</html>
